﻿using System.IO;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Ruminate.GUI.Framework;

namespace Ruminate.GUI.Content {

    public class EmbeddedTheme : Theme {
        
        public EmbeddedTheme(RuminateGUI gui) : base(gui) {

            ThemeDictionary.Add("Panel", new BorderRenderer(Content.Load<Texture2D>(".\\defaultBorder"), 8, 16, 32, gui));
            ThemeDictionary.Add("Button", new SlidingDoorRenderer(Content.Load<Texture2D>(".\\defaultSlidingDoor"), 20, 1, 5, 16, 3, gui));
            ThemeDictionary.Add("ScrollBar", new SlidingDoorRenderer(Content.Load<Texture2D>(".\\defaultScrollBar"), 15, 1, 2, 8, 1, gui));
            ThemeDictionary.Add("ScrollBarHolder", new SlidingDoorRenderer(Content.Load<Texture2D>(".\\defaultScrollBarHolder"), 17, 1, 17, 4, 2, gui));
            ThemeDictionary.Add("Radio", new IconRenderer(Content.Load<Texture2D>(".\\RadioButtons"), new Point(16, 16), 4, gui));
            ThemeDictionary.Add("CheckBox", new IconRenderer(Content.Load<Texture2D>(".\\CheckBoxes"), new Point(16, 16), 4, gui));
            ThemeDictionary.Add("TextRenderer", new TextRenderer(Content.Load<SpriteFont>(".\\TextBox"), Content.Load<Texture2D>(".\\Cursor"), Color.Black, gui));  
          
        }
    }
}
